package com.zzyl.nursing.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;
import java.time.LocalDateTime;

@Data
@ApiModel("新增预约请求DTO")
public class CreateReservationDto {


    @ApiModelProperty(value = "手机号", required = true, example = "13211223569")
    private String mobile;


    @ApiModelProperty(value = "预约人姓名", required = true, example = "李天天")
    private String name;


    @ApiModelProperty(value = "预约时间（格式：yyyy-MM-dd HH:mm:ss）", required = true, example = "2024-09-19 10:30:00")
    private LocalDateTime time;


    @ApiModelProperty(value = "预约类型（0：参观预约，1：探访预约）", required = true, example = "0")
    private Integer type;


    @ApiModelProperty(value = "探访人姓名（老人姓名）", required = true, example = "李霸天")
    private String visitor;
}